package com.wang.lottery.rpc;

import com.wang.lottery.rpc.req.DrawReq;
import com.wang.lottery.rpc.req.QuantificationDrawReq;
import com.wang.lottery.rpc.res.DrawRes;

/**
 * @author wjh
 * @create 2023-11-12 15:06
 * 抽奖活动展台接口
 */
public interface ILotteryActivityBooth {
    /**
     * 指定活动抽奖
     * @param drawReq 抽奖请求
     * @return 抽奖结果
     */
    DrawRes doDraw(DrawReq drawReq);
    
    /**
     * 量化人群抽奖
     * @param quantificationDrawReq 抽奖请求
     * @return 抽奖结果
     */
    DrawRes doQuantificationDraw(QuantificationDrawReq quantificationDrawReq);
}
